package com.violet.lb.annotation;

import com.violet.lb.config.FeignHttpInterceptorConfig;
import com.violet.lb.config.FeignInterceptorConfig;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 类说明:开启feign拦截器传递数据给下游服务，包含基础数据和http的相关数据
 *
 * @author wqf
 * @date 2022/10/26 16:10
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import({FeignInterceptorConfig.class, FeignHttpInterceptorConfig.class})
public @interface EnableFeignInterceptor {

}

